package com.tchhy.provider.data.healthy.request

/**
 * Created by easyfuture on 2020-02-18
 */
data class AddInvoiceReq(
    var address: String,
    var aggregateAmount: String,
    var applicantId: String,
    var createTime: String,
    var id: String,
    var invoiceContent: String,
    var invoiceTitle: String,
    var invoiceType: Int,//1是企业 2是个人
    var orderNum: String,
    var taxFileNumber: String,
    var invoiceItem: List<InvoiceItem>? = null,
    var invoiceOrderDTOS: List<InvoiceOrderDTOS>? = null
) {
    data class InvoiceItem(
        var commodityNum: Int,
        var createId: String,
        var orderNum: String,
        var payAmount: Long,
        var totalAmount: Long
    )

    data class InvoiceOrderDTOS(
        var id: String,
        var invoiceId: String,
        var orderId: String
    )
}